package com.ailot.cloud.upms.api.service;

import com.ailot.cloud.upms.common.entity.SysDatasource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.sql.SQLException;

/**
 * @Author : litao
 * @create 2023/12/6 14:10
 */
public interface SysDatasourceService extends IService<SysDatasource> {

    void addSysDatasource(SysDatasource sysDatasource) throws SQLException;

    /**
     * 更新数据源
     *
     * @param sysDatasource
     * @return
     */
    void updateSysDatasource(SysDatasource sysDatasource) throws SQLException;

}
